package nl.rug.ml.dobbelen.game;

import java.util.Random;

/**
 * A fair dice with equal probability for 6 faces.
 * 
 * @author Do Bich Ngoc (bichngocdo89@gmail.com)
 * 
 */
public class FairDice extends Dice {

	private Random random;

	public FairDice() {
		super();
		random = new Random();
	}

	@Override
	public int throwIt(int turn) {
		value = random.nextInt(6) + 1;
		this.turn = turn;
		return value;
	}

}
